home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / cronos.gsh < prev    next >
Text File  |  2000-09-09  |  1KB  |  50 lines

  1. // defines Cronos
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_CRONOS_GSH
  8. #define INCLUDED_CRONOS_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "lasers.gsh"
  14.  
  15. hierarchy Hcy_Cronos
  16. {
  17.     file "units\cronos.RIF"
  18.     name "cronos"
  19.     hotspot "DumFlash"
  20. }
  21.  
  22. character Chr_Cronos : Chr_DefaultBaddie
  23. {
  24.     turning speed   0.5    // this is in revolutions per second
  25.     walking speed   1.0    // this is in animation cycles per second
  26.     weapon          enemy laser weak
  27.     strength        5    // initial strength points
  28.     aim             1    // how many degrees off target he can be at most
  29.     sight angle        80    // in degrees
  30.     sight range     8    // in metres
  31.     hearing range    20    // in metres
  32.     aggression    0.9    // from 0 to 1
  33. }
  34.  
  35. role Rol_Cronos : Rol_DefaultRobot
  36. {
  37.     shape            Hcy_Cronos
  38.     
  39.     character        Chr_Cronos
  40.         
  41.     identifier        "cronos"
  42.  
  43.     ai                bot
  44. }
  45.  
  46. ////////////////////////////////////////////////////////////////////////////////////
  47.  
  48. // end wrapper - for preventing multiple or recursive inclusions
  49. #endif // !INCLUDED_CRONOS_GSH
  50.